<router-outlet>
  <div id=public-links (click)='onRouteChange($event)'>
    <a routerLink="/">Home</a> |
    <a routerLink="/page2">Page2</a>
  </div>
</router-outlet>
